def demo(obj=[]):
    print("obj的值",obj)
    obj.append(1)

demo()
demo()
demo()


def demo(obj=None):
    if obj == None:
        obj = []
    print("obj的值", obj)
    obj.append(1)


demo()
demo()
demo()